home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / User Contributions / zebu v3.3.3 (LALR parser) / Install.unix < prev    next >
Encoding:
Text File  |  1994-09-12  |  1.6 KB  |  42 lines  |  [TEXT/ttxt]

  1. The Zebu runtime system is all you need if you want to use the
  2. parser/generator that was produced by the compiler (in form of a .tab
  3. file).
  4.  
  5. The Zebu-compiler is necessary in order to convert the external
  6. grammar description (in form of a .zb file) into a LALR(1) parsing
  7. table (in form of a .tab file), and associated printers and semantic
  8. functions (in form of a <grammar-name>-domain.lisp file).
  9.  
  10. Installation under Unix
  11. -----------------------
  12.  
  13. set the environment variables for LISP to the directory, where your
  14. lisp development environment resides.  (In case of Lucid, the name of
  15. the executable is 'base-lisp-de', in case your Lisp uses a different
  16. name you could create a link, or edit the Makefile)
  17.  
  18.  
  19.     cd <directory where the Zebu sources reside>
  20.     make
  21.  
  22.  
  23. Alternative Installation (using DEFSYSTEM)
  24. ------------------------------------------
  25.  
  26. DEFSYSTEM makes it easier to load and compile grammars, since one does not
  27. need to remember the location of a module in a directory structure.
  28. The bad news is that this DEFSYSTEM is incompatible with the one
  29. maintained at CMU.  At some point we will clean this up.  (Anyone who
  30. would write the definition using the DEFSYSTEM distributed by CMU
  31. should send me the file and I will include it in the next version)
  32.  
  33. To install, follow the directions in ZEBU-sys.lisp.  You will need the
  34. portable DEFSYS which is available as DEFSYS.tar.gz at the same place
  35. as Zebu-???.tar.gz.
  36.  
  37. The file ZEBU-sys.lisp defines three systems
  38.  
  39.     Zebu                the runtime system
  40.     Zebu-compiler            the compiler
  41.     Zebu-RR                 the rewrite rule system
  42.